package demo1;

public class Test {
   //题目9：检查两棵树是否相同

    //题目10: 判断一棵树是否是另一颗树的子树

    //题目 11 翻转二叉树

    //题目12 判断一棵树是否是平衡二叉树

    //题目13  对称二叉树

    // 题目14 二叉树的构建及遍历





















    //尝试所有的二叉树的oj题敲一遍

    public static void main(String [] args) {
  MyTree myTree = new MyTree();
        System.out.println(myTree.size(myTree.root));
        System.out.println(myTree.getLeafNodeCount(myTree.root));
        System.out.println(myTree.getKLevelNodeCount(myTree.root,1));
        System.out.println(myTree.getHeight(myTree.root));
    }














}
